#pragma once

#define STRICT
#define _WIN32_WINNT 0x0501
#define WIN32_LEAN_AND_MEAN

#include <Windows.h>
#include <ShlObj.h>
#include <ShlwApi.h>

extern HMODULE          g_hModule;
extern CRITICAL_SECTION g_csModule;
extern DWORD            g_dwTlsIndex;

LPVOID WINAPI BGHeapAlloc(SIZE_T);
LPWSTR WINAPI BGHeapAllocStr(SIZE_T);
BOOL   WINAPI BGHeapFree(LPVOID);
LPVOID WINAPI BGHeapRealloc(LPVOID, SIZE_T);
